package com.summer.safe.system.dao;


import com.summer.safe.base.BaseDao;
import com.summer.safe.system.entity.Dict;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 字典DAO接口
 *
 */
@Mapper
public interface DictDao extends BaseDao<Dict> {

    List<Dict> findTypeList(Dict dict);


     Dict getEntity(@Param("parentId") String parentId);


    /**
     * 根据类型批量的删除
     * @param type
     */
     int


     deleteType(@Param("type") String type);



}
